<div class="flot">

<div class="left_producd">
  <h2>Products</h2>
  {foreach from=$main_categories item=row}
  <div class="product_list">
    <ul>
      <li><a href="{$baseurl}/category.php?category_id={$row.category_id}">{$row.category_name}</a></li>
    </ul>
  </div>
  {/foreach}

</div>
